package com.lm.dao;

import com.lm.model.KwChannel;
import com.meirengu.dao.BaseDao;

import java.util.List;
import java.util.Map;

/**
 * KwChannelDao
 *
 * @author Mao
 * @create Sat May 05 16:31:47 CST 2018
 */
public interface KwChannelDao extends BaseDao<KwChannel> {
    /**
     * 通过code查询渠道
     *
     * @param code
     * @return
     */
    KwChannel getByCode(String code);

    /**
     * 查询实体类
     */
    List<KwChannel> getModel(Map map);
}
